package com.yh.csx.crm.dao;

import com.yh.csx.crm.po.ReportClassRatio;
import com.yh.csx.crm.po.ReportCountData;
import com.yh.csx.crm.po.ReportHomeSale;
import com.yh.csx.crm.po.ReportSale6month;
import com.yh.csx.crm.po.ReportSale7day;
import com.yh.csx.crm.qo.ClassRatioQo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ReportHomeSaleMapper {
    int insert(ReportHomeSale record);

    int insertSelective(ReportHomeSale record);

    ReportHomeSale selectByAll( ReportHomeSale reportHomeSale);

    ReportCountData selectByAllNext( ReportHomeSale reportHomeSale);

    List<ReportHomeSale> selectDetailedInfo(ReportHomeSale appHomeSale);

    List<ReportHomeSale> selectCityDetailedInfo(ReportHomeSale appHomeSale);

    List<ReportClassRatio> selectClass(ReportHomeSale appHomeSale);

    List<ReportSale7day> select7day ();

    List<ReportSale6month> select6month();

    List<ReportClassRatio> selectClassInfo(ClassRatioQo reportClassRatio);

    List<ReportHomeSale> selectBaseDetailedInfo(ReportHomeSale reportHomeSale);

    List<ReportHomeSale> getCityInfo(@Param("dimDate") String dimDate,@Param("provinceName") String provinceName ,@Param("param") String param,@Param("channelsale")String Channelsale);

    List<String> getProvinceName(@Param("provinceIds") List<String> provinceIds);

    List<String> getCityName(String provinceName);

    List<String> getChannelsale();
}